package com.fzn.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @program: springcloud
 * 描述：
 * @author: fzn
 * @create: 2022-03-13 10:31
 **/
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "------PaymentFallbackService fall back-paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut";
    }
}